function checkPhoneForm(e){
	var verify=$("#verify")
	var phoneNum=$("#phoneNum")
	if(!$.trim(verify.val())){
		alert("验证码不能为空")
		return false;
	}else if(!$.trim(phoneNum.val())||isNaN(phoneNum.val())||phoneNum.val().length!=11){
		alert("手机号格式不合法")
		return false;
	}
	next()
	return true;
}
function checkPasswordForm(e){
	var password=$("#password")
	var passwordAgain=$("#passwordAgain")
	if(!$.trim(password.val())||!$.trim(passwordAgain.val())){
		alert("新密码不能为空")
		return false;
	}else if(password.val()!=passwordAgain.val()){
		alert("两次输入的密码不一致")
		return false;
	}
	return true;
}
function next(){
	$(".head:first-child").removeClass("active");
	$(".head:nth-child(2)").addClass("active");
	$(".phone1").css("display","none");
	$(".passwd").css("display","block")
}
